/*
 * Copyright (c) 2015 www.smarthome.com All rights reserved. 本软件源代码版权归----所有,未经许可不得任意复制与传播.
 */
package com.smarthome.domain.bean;

import com.smarthome.domain.bean.base.BaseDomain;

/**
 * shEquipmentDevTalk
 * 
 * @author KongXiangyu
 * @since 2015-11-23
 */
public class ShEquipmentDevTalk extends BaseDomain {

	private static final long serialVersionUID = 1L;
	private Long residenceId;
	private Long buildingId;// 单元
	private Long equipmentProducerId;
	private String name;
	private String code;
	private String address;
	private Integer status;
	private String internetIp;
	private String internetPort;
	private String internetPort2;
	private String localIp;
	private String localPort;
	private String localPort2;
	private Long parentDevId;
	private String is_ddns;//是否注册了ddns；1：已经注册。0：未注册
	
	

	// 附加属性
	private String parentDevName;
	private String residenceName;
	private String buildingName;// 单元
	private String equipmentProducerName;
	private Long buildUnitId;// 楼栋
	private String buildUnitIdName;
	private String ipcIp;
	private String ipcPort;

	public ShEquipmentDevTalk() {
		// 默认无参构造方法
	}

	/**
	 * 获取 buildingId
	 * 
	 * @return
	 */
	public Long getBuildingId() {
		return buildingId;
	}

	/**
	 * 设置 buildingId
	 * 
	 * @param buildingId
	 */
	public void setBuildingId(Long buildingId) {
		this.buildingId = buildingId;
	}

	public Long getEquipmentProducerId() {
		return equipmentProducerId;
	}

	public void setEquipmentProducerId(Long equipmentProducerId) {
		this.equipmentProducerId = equipmentProducerId;
	}

	/**
	 * 获取 name
	 * 
	 * @return
	 */
	public String getName() {
		return name;
	}

	/**
	 * 设置 name
	 * 
	 * @param name
	 */
	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	/**
	 * 获取 address
	 * 
	 * @return
	 */
	public String getAddress() {
		return address;
	}

	/**
	 * 设置 address
	 * 
	 * @param address
	 */
	public void setAddress(String address) {
		this.address = address;
	}

	/**
	 * 获取 status
	 * 
	 * @return
	 */
	public Integer getStatus() {
		return status;
	}

	/**
	 * 设置 status
	 * 
	 * @param status
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}

	/**
	 * 获取 internetIp
	 * 
	 * @return
	 */
	public String getInternetIp() {
		return internetIp;
	}

	/**
	 * 设置 internetIp
	 * 
	 * @param internetIp
	 */
	public void setInternetIp(String internetIp) {
		this.internetIp = internetIp;
	}

	/**
	 * 获取 internetPort
	 * 
	 * @return
	 */
	public String getInternetPort() {
		return internetPort;
	}

	/**
	 * 设置 internetPort
	 * 
	 * @param internetPort
	 */
	public void setInternetPort(String internetPort) {
		this.internetPort = internetPort;
	}

	/**
	 * 获取 localIp
	 * 
	 * @return
	 */
	public String getLocalIp() {
		return localIp;
	}

	/**
	 * 设置 localIp
	 * 
	 * @param localIp
	 */
	public void setLocalIp(String localIp) {
		this.localIp = localIp;
	}

	/**
	 * 获取 localPort
	 * 
	 * @return
	 */
	public String getLocalPort() {
		return localPort;
	}

	/**
	 * 设置 localPort
	 * 
	 * @param localPort
	 */
	public void setLocalPort(String localPort) {
		this.localPort = localPort;
	}

	public Long getResidenceId() {
		return residenceId;
	}

	public void setResidenceId(Long residenceId) {
		this.residenceId = residenceId;
	}

	public Long getParentDevId() {
		return parentDevId;
	}

	public void setParentDevId(Long parentDevId) {
		this.parentDevId = parentDevId;
	}

	public String getParentDevName() {
		return parentDevName;
	}

	public void setParentDevName(String parentDevName) {
		this.parentDevName = parentDevName;
	}

	public String getResidenceName() {
		return residenceName;
	}

	public void setResidenceName(String residenceName) {
		this.residenceName = residenceName;
	}

	public String getBuildingName() {
		return buildingName;
	}

	public void setBuildingName(String buildingName) {
		this.buildingName = buildingName;
	}

	public String getEquipmentProducerName() {
		return equipmentProducerName;
	}

	public void setEquipmentProducerName(String equipmentProducerName) {
		this.equipmentProducerName = equipmentProducerName;
	}

	public Long getBuildUnitId() {
		return buildUnitId;
	}

	public void setBuildUnitId(Long buildUnitId) {
		this.buildUnitId = buildUnitId;
	}

	public String getBuildUnitIdName() {
		return buildUnitIdName;
	}

	public void setBuildUnitIdName(String buildUnitIdName) {
		this.buildUnitIdName = buildUnitIdName;
	}

	public String getInternetPort2() {
		return internetPort2;
	}

	public void setInternetPort2(String internetPort2) {
		this.internetPort2 = internetPort2;
	}

	public String getLocalPort2() {
		return localPort2;
	}

	public void setLocalPort2(String localPort2) {
		this.localPort2 = localPort2;
	}

	public String getIpcIp() {
		return ipcIp;
	}

	public void setIpcIp(String ipcIp) {
		this.ipcIp = ipcIp;
	}

	public String getIpcPort() {
		return ipcPort;
	}

	public void setIpcPort(String ipcPort) {
		this.ipcPort = ipcPort;
	}
	public String getIs_ddns() {
		return is_ddns;
	}

	public void setIs_ddns(String is_ddns) {
		this.is_ddns = is_ddns;
	}
}